package com.wjk.kylin.mall.admin.mapper;
import java.util.Collection;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wjk.kylin.mall.admin.entity.UserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 管理员表 Mapper 接口
 * </p>
 *
 * @author wangjinkui
 * @since 2021-11-14
 */
@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {

    int insertSelective(UserEntity userEntity);

    int insertBatch(@Param("userEntityCollection") Collection<UserEntity> userEntityCollection);

    int updateBatchByPrimaryKeySelective(@Param("list") List<UserEntity> list);

    int insertBatchSelective(@Param("list") List<UserEntity> list);
}
